package com.iretailer.report.dto;

import com.iretailer.report.model.Activity;

import javax.swing.*;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Auther: xjw
 * @Date: 2019/1/24 15:38
 * @Description:
 */
public class ReActivity {
    private String startDate;
    private String startDateTime;
    private String endDate;
    private String endDateTime;
    private String id;
    private String name;
    private String description;
    private List<String> mallIds;

    /**
     * @Author xjw
     * @Date 2019/1/24 15:45
     * @Description :  获取 Activity 的工厂方法
     **/
    public Activity getActivity(LocalDateTime startDateTime, LocalDateTime endDateTime) {
        return new Activity(this.id, this.name, startDateTime, endDateTime, this.description);
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getStartDateTime() {
        return startDateTime;
    }

    public void setStartDateTime(String startDateTime) {
        this.startDateTime = startDateTime;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getEndDateTime() {
        return endDateTime;
    }

    public void setEndDateTime(String endDateTime) {
        this.endDateTime = endDateTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<String> getMallIds() {
        return mallIds;
    }

    public void setMallIds(List<String> mallIds) {
        this.mallIds = mallIds;
    }
}
